<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2021/8/11
  Time: 20:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>计算器</title>
</head>
<body>
    <div>
        <form action="calculat" method="post">
            <input type="text" name="num1" placeholder="请输入..."><br>
            <select name="flag">
                <option selected="selected" value="+">+</option>
                <option value="-">-</option>
                <option value="*">*</option>
                <option value="/">/</option>
            </select>
            <input type="text" name="num2" placeholder="请输入...">
            <button type="submit">提交</button>
        </form>
    </div>
</body>
</html>
